home *** CD-ROM | disk | FTP | other *** search
/ Java 1996 August / Java - Summer 1996.iso / kaffe-0.2 / kaffe / native.h < prev    next >
C/C++ Source or Header  |  1996-02-11  |  677b  |  32 lines

  1. /*
  2.  * native.h
  3.  * Handle native method calls.
  4.  *
  5.  * Copyright (c) 1996 Systems Architecture Research Centre,
  6.  *           City University, London, UK.
  7.  *
  8.  * See the file "license.terms" for information on usage and redistribution
  9.  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  10.  *
  11.  * Written by Tim Wilkinson <tim@sarc.city.ac.uk>, February 1996.
  12.  */
  13.  
  14. #ifndef __native_h
  15. #define __native_h
  16.  
  17. #define    MAXSTUBLEN    1024
  18. #define    MAXLIBPATH    1024
  19. #define    MAXLIBS        16
  20.  
  21. /* Default library info. */
  22. #define    LIBRARYPATH    "LD_LIBRARY_PATH"
  23. #define    NATIVELIBRARY    "libnative.so"
  24.  
  25. struct _methods;
  26.  
  27. void    initNative(void);
  28. int    loadNativeLibrary(char*);
  29. void    native(struct _methods*);
  30.  
  31. #endif
  32.